package com.qingxin.sys.mvc;

public class SysError {

	private boolean sysError = true;
	private int code;
	private String field;
	private String message;
	
	public SysError(String message) {
		this.message = message;
	}

	public SysError(int code, String message) {
		this.code = code;
		this.message = message;
	}

	public SysError(String field, String message) {
		this.field = field;
		this.message = message;
	}
	
	public SysError(int code, String field, String message) {
		this.code = code;
		this.field = field;
		this.message = message;
	}
	

	public boolean isSysError() {
		return sysError;
	}

	public void setSysError(boolean sysError) {
		this.sysError = sysError;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getField() {
		return field;
	}
	
	public void setField(String field) {
		this.field = field;
	}
	
	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	
	
}
